import request from '@/utils/request'

// 票务分页
export function getList(params) {
  return request({
    url: '/ticketManage/selectPage',
    method: 'POST',
    params
  })
}

// 添加
export function addTicketManage(data) {
  return request({
    url: '/ticketManage/insert',
    method: 'POST',
    data
  })
}

// 修改
export function updateTicketManage(data) {
  return request({
    url: '/ticketManage/update',
    method: 'post',
    data
  })
}

// 删除
export function delTicketManage(data) {
  return request({
    url: '/ticketManage/del',
    method: 'post',
    data
  })
}

// 查询
export function selectTicketManage(params) {
  return request({
    url: '/ticketManage/findId',
    method: 'POST',
    params
  })
}

// 查所有人
export function selectOperator(params) {
  return request({
    url: '/employee/personnelInfoOther',
    method: 'post',
    params
  })
}
